import EmberRoute from "@ember/routing/route";

export default EmberRoute.extend({
  model() {
      //查询获取post 目前没有post支持无法获取，等待学习到model即可
     return this.store.query('post', { favorite: true });
    // return [{
    //   body: 'this is post body'
    // }, {
    //   body: 'this is post body2'
    // }]

  }
})
